package com.issac.messagequeue.mqserver.common;

import com.issac.messagequeue.mqserver.coreclass.BasicProperties;

import java.io.IOException;

@FunctionalInterface
public interface Consumer {
    void handleDelivery(String consumerTag, BasicProperties basicProperties, byte[] body) throws MqException, IOException;
}
